<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<head>
    <title>工作台</title>
    <div data-th-replace="layout/head-top"></div>
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInLeft">
        <div class="row">
            <div class="col-sm-12">
                <div class="pt10">
                    <p class="fs14">
                        <em class="welcom-icon"></em>
                        <span class="ml5">欢迎登录管理系统，今天是</span>
                        <span class="c-orange ml5" id="index-current-time"></span> 我们的数据如下
                    </p>
                </div>

                <div class="pt10">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5 class="iboxTxt">基本数据</h5>
                            <div class="ibox-tools">
                                <a class="collapse-link">
                                    <i class="fa fa-chevron-up"></i>
                                </a>
                            </div>
                        </div>

                        <div class="ibox-content">
                            <div class="row in-iv-data-wrap in-iv-data-box">
                                <div class="iv-data-item">
                                    <a href="javascript:void(0);" onclick = "getRedirectMenu('/admin/user/cus/userList' , false)">
                                        <div class="iv-data-item-bx iv-data-item-bx-1">
                                            <div class="text-center">
                                                <h3><span class="fs14">注册学员(人)</span></h3>
                                                <div class="iv-data-item-attr" data-toggle="tooltip" data-placement="top" data-original-title=""><span class="fs24" id="sumUserNum">0</span>
                                                </div>
                                            </div>
                                        </div>
                                    </a>
                                </div>

                                <div class="iv-data-item">
                                    <a href="javascript:void(0);" onclick = "getRedirectMenu('/admin/user/cus/userList' , false)">
                                        <div class="iv-data-item-bx iv-data-item-bx-2">
                                            <div class="text-center">
                                                <h3><span class="fs14">付费学员(人)</span></h3>
                                                <div class="iv-data-item-attr" data-toggle="tooltip" data-placement="top" data-original-title=""><span class="fs24" id="buyUserNum">0</span>
                                                </div>
                                            </div>
                                        </div>
                                    </a>
                                </div>

                                <div class="iv-data-item">
                                    <a href="javascript:void(0);" onclick="getRedirectMenu('/admin/course/cou/courseList' , false)">
                                        <div class="iv-data-item-bx iv-data-item-bx-3">
                                            <div class="text-center">
                                                <h3><span class="fs14">在售课程(门)</span></h3>
                                                <div class="iv-data-item-attr" data-toggle="tooltip" data-placement="top" data-original-title=""><span class="fs24" id="sumCourseNum">0</span>
                                                </div>
                                            </div>
                                        </div>
                                    </a>
                                </div>

                                <div class="iv-data-item">
                                    <a href="javascript:void(0);" onclick="getRedirectMenu('/admin/exam/question/questionList' , false)">
                                        <div class="iv-data-item-bx iv-data-item-bx-5">
                                            <div class="text-center">
                                                <h3><span class="fs14">可用试题(数)</span></h3>
                                                <div class="iv-data-item-attr" data-toggle="tooltip" data-placement="top" data-original-title="">
                                                    <span class="fs24" id="sumQuestionNum">0</span>
                                                </div>
                                            </div>
                                        </div>
                                    </a>
                                </div>

                                <div class="iv-data-item">
                                    <a href="javascript:void(0);" onclick="getRedirectMenu('/admin/order/queryOrderList' , false)">
                                        <div class="iv-data-item-bx iv-data-item-bx-5">
                                            <div class="text-center">
                                                <h3><span class="fs14">订单数(个)</span></h3>
                                                <div class="iv-data-item-attr" data-toggle="tooltip" data-placement="top" data-original-title="">
                                                    <span class="fs24" id="sumOrderNum">0</span>
                                                </div>
                                            </div>
                                        </div>
                                    </a>
                                </div>

                                <div class="iv-data-item">
                                    <a href="javascript:void(0);" onclick="getRedirectMenu('/admin/count/watchCount',false)">
                                        <div class="iv-data-item-bx iv-data-item-bx-5">
                                            <div class="text-center">
                                                <h3><span class="fs14">已用流量(G)</span></h3>
                                                <div class="iv-data-item-attr" data-toggle="tooltip" data-placement="top" data-original-title="">
                                                    <span class="fs24" id="sumUsedFlow">0</span>
                                                </div>
                                            </div>
                                        </div>
                                    </a>
                                </div>

                                <div class="iv-data-item">
                                    <a href="javascript:void(0);"onclick="getRedirectMenu('/admin/count/watchCount',false)">
                                        <div class="iv-data-item-bx iv-data-item-bx-5">
                                            <div class="text-center">
                                                <h3><span class="fs14">空间使用(G)</span></h3>
                                                <div class="iv-data-item-attr" data-toggle="tooltip" data-placement="top" data-original-title="">
                                                    <span class="fs24" id="sumUsedSpace">0</span>
                                                </div>
                                            </div>
                                        </div>
                                    </a>
                                </div>

                                <div class="iv-data-item" id="backlog">
                                    <a href="javascript:void(0);">
                                        <div class="iv-data-item-bx iv-data-item-bx-6">
                                            <div class="text-center">
                                                <h3><span class="fs14">待办事项</span></h3>
                                                <div class="iv-data-item-attr" data-toggle="tooltip" data-placement="top" data-original-title="">
                                                    <span class="fs24" id="sumBacklogNum">0</span>
                                                </div>
                                            </div>
                                        </div>
                                    </a>
                                </div>

                                <div class="iv-data-item">
                                    <a href="javascript:void(0);"
                                       onclick="getRedirectMenu('/admin/stat/base',false)">
                                        <div class="iv-data-item-bx iv-data-item-bx-6">
                                            <div class="text-center">
                                                <h3>
                                                    <span class="fs14">更多数据</span>
                                                    <i class="fa fa-arrow-right m-l-sm"></i>
                                                </h3>
                                            </div>
                                        </div>
                                    </a>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>

                <div id="work-context"></div>
            </div>
        </div>
    </div>
    <div data-th-replace="layout/head-footer"></div>
    <script th:src="@{{path}/admin/libs/plugins/sortMoveTable/Sortable.min.js?v={v}(path=${staticPath},v=${v})}"></script>
    <script th:src="@{{path}/admin/business/manage/main/workbench.js?v={v}(path=${staticPath},v=${v})}"></script>
    <script th:inline="javascript" type="text/javascript">
        var userType = [[${user['userType']}]];
    </script>
</body>
</html>
